package com.iknight.mgr.mapper;

import java.io.Serializable;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.iknight.mgr.core.base.BaseMapper;

@Repository
public interface PermissionMapper<T extends Serializable, PK extends Serializable> extends BaseMapper<T, PK> {
    T getRecordByCode(@Param("perm_code") String permCode);

    void deletePermByGroupId(@Param("perm_group_id") String permGroupId);
}
